﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharp.Study.Test
{
    public static class 计算字符串的UniCode编码
    {
        public static void Go()
        {
            //string result = StringToUnicode("a");
        }


        public static byte csharp(int n)
        {
            string str = "ABCDEFG";
            byte[] by = System.Text.Encoding.Default.GetBytes(str);
            return by[n - 1];
        }

    }
}
